From 2bedd29af9e4cfc96dce50942cc5f1d183461638 Mon Sep 17 00:00:00 2001 From: "unknown@aosda.research.intel-research.net" Date: Mon, 7 Nov 2005 18:35:55 +0100 Subject: [PATCH] Minor Makefile cleanup in tools/libxc/Makefile --- tools/libxc/Makefile | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/tools/libxc/Makefile b/tools/libxc/Makefile index b1d91d157d..c51e899c06 100644 --- a/tools/libxc/Makefile +++ b/tools/libxc/Makefile @@ -13,7 +13,6 @@ XEN_ROOT = ../.. include $(XEN_ROOT)/tools/Rules.mk SRCS := -BUILD_SRCS := SRCS += xc_bvtsched.c SRCS += xc_core.c SRCS += xc_domain.c @@ -24,25 +23,27 @@ SRCS += xc_physdev.c SRCS += xc_private.c SRCS += xc_sedf.c SRCS += xc_tbuf.c + +ifeq ($(XEN_TARGET_ARCH),x86_32) +SRCS += xc_ptrace.c +SRCS += xc_ptrace_core.c +endif + +BUILD_SRCS := BUILD_SRCS += xc_linux_build.c BUILD_SRCS += xc_load_bin.c BUILD_SRCS += xc_load_elf.c +BUILD_SRCS += xg_private.c ifeq ($(XEN_TARGET_ARCH),ia64) BUILD_SRCS += xc_ia64_stubs.c else -ifeq ($(XEN_TARGET_ARCH),x86_32) -SRCS += xc_ptrace.c -SRCS += xc_ptrace_core.c -endif BUILD_SRCS += xc_load_aout9.c BUILD_SRCS += xc_linux_restore.c BUILD_SRCS += xc_linux_save.c BUILD_SRCS += xc_vmx_build.c endif -BUILD_SRCS += xg_private.c - CFLAGS += -Wall CFLAGS += -Werror CFLAGS += -O3 @@ -105,7 +106,7 @@ install: build .PHONY: TAGS clean rpm install all TAGS: - etags -t $(SRCS) *.h + etags -t *.c *.h clean: rm -rf *.a *.so* *.o *.opic *.rpm $(LIB) *~ $(DEPS) xen -- 2.30.2